package com.bkgy.modular.historicalPlan.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.bkgy.converter.AbnormalAlarmConverter;
import com.bkgy.converter.AddOrDel2Converter;
import com.bkgy.converter.AddOrDelConverter;
import com.bkgy.converter.JudgmentResultConverter;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author ZhuHongKai
 * @version 1.0
 * @ClassName AcidRollingHistorcalPlan2130
 * @date 2022/12/16 16:36
 * 2130酸轧历史计划
 */
@Data
public class AcidRollingHistorcalPlan2130 {
    //TB_DSJ_PLANCHECK_C622  b

    @ExcelProperty("计划顺序号")
    @ColumnWidth(20)
    private Double coil_seq_no;

    @ExcelProperty("计划号")
    @ColumnWidth(20)
    private String plan_no;

    @ExcelProperty("热卷号")
    @ColumnWidth(20)
    private String cust_mat_no;

    @ExcelProperty("出口计算长度")
    @ColumnWidth(20)
    private Double cal_ex_len;

    @ExcelProperty("出口计算外径")
    @ColumnWidth(20)
    private Double cal_ex_dia;

    @ExcelProperty(value = "切边量异常报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String trim_warn;

    @ExcelProperty("热卷宽度最大值")
    @ColumnWidth(20)
    private Double hot_coil_width_max;

    @ExcelProperty("热卷宽度最小值")
    @ColumnWidth(20)
    private Double hot_coil_width_min;

    @ExcelProperty(value = "原料厚度跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String en_thk_jump_allow;

    @ExcelProperty(value = "成品厚度跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String ex_thk_jump_allow;

    @ExcelProperty(value = "宽度跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String en_wid_jump_allow;

    @ExcelProperty(value = "钢种跳跃判定结果,0表示可以跳跃，1表示不能跳跃",converter = JudgmentResultConverter.class)
    @ColumnWidth(20)
    private String steel_jump_allow;

    @ExcelProperty(value = "是否新钢种,0表示已有，1表示新增",converter = AddOrDel2Converter.class)
    @ColumnWidth(20)
    private String steel_flag;

    @ExcelProperty(value = "入口卷重量,  0表示不超限，1表示超限报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String wt_warn;

    @ExcelProperty(value = "是否加套筒,  0表示不加，1表示加套筒",converter = AddOrDel2Converter.class)
    @ColumnWidth(20)
    private String sleeve;

    @ExcelProperty(value = "出口卷长度,  0表示不超限，1表示超限报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String ex_out_len;

    @ExcelProperty(value = "出口卷外径,  0表示不超限，1表示超限报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String ex_out_dia;

    @ExcelProperty(value = "屈服强度是否为空,  0表示不为空，1表示为空",converter = AddOrDelConverter.class)
    @ColumnWidth(20)
    private String ys_isnull;

    @ExcelProperty(value = "是否轧硬卷, 下道机组中有000,0表示不外卖，1表示外卖",converter = AddOrDelConverter.class)
    @ColumnWidth(20)
    private String outsell;

    @ExcelProperty("碳当量")
    @ColumnWidth(20)
    private Double ceq;

    @ExcelProperty("压下率")
    @ColumnWidth(20)
    private Double reduction;

    @ExcelProperty(value = "压下率异常报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String reduction_warn;

    //TB_DSJ_PDI_C622  a

    @ExcelProperty("订单牌号")
    @ColumnWidth(20)
    private String sg_sign;

    @ExcelProperty("钢种")
    @ColumnWidth(20)
    private String st_no;

    @ExcelProperty("入口材料厚度")
    @ColumnWidth(20)
    private Double in_mat_thick;

    @ExcelProperty("入口材料宽度")
    @ColumnWidth(20)
    private Double in_mat_width;

    @ExcelProperty("入口材料重量")
    @ColumnWidth(20)
    private Double in_mat_wt;

    @ExcelProperty("入口材料长度")
    @ColumnWidth(20)
    private Double in_mat_len;

    @ExcelProperty("入口材料内径")
    @ColumnWidth(20)
    private Double in_mat_inner_dia;

    @ExcelProperty("入口材料外径")
    @ColumnWidth(20)
    private Double in_mat_outer_dia;

    @ExcelProperty("出口钢卷厚度")
    @ColumnWidth(20)
    private Double out_mat_thick;

    @ExcelProperty("出口钢卷宽度")
    @ColumnWidth(20)
    private Double out_mat_width;

    @ExcelProperty("切边标记")
    @ColumnWidth(20)
    private String trim_flag;

    @ExcelProperty("切边宽度")
    @ColumnWidth(20)
    private Double cut_width;

    @ExcelProperty("分卷数")
    @ColumnWidth(20)
    private Double div_num;

    @ExcelProperty("出口钢卷重量")
    @ColumnWidth(20)
    private Double out_mat_wt;

    @ExcelProperty("出口内径")
    @ColumnWidth(20)
    private Double out_mat_inner_dia;

    @ExcelProperty("订单厚度")
    @ColumnWidth(20)
    private Double order_thick;

    @ExcelProperty("订单宽度")
    @ColumnWidth(20)
    private Double order_width;

    @ExcelProperty("订单厚度正公差1")
    @ColumnWidth(20)
    private Double thick_tol_plus_1;

    @ExcelProperty("订单厚度负公差1")
    @ColumnWidth(20)
    private Double thick_tol_minus_1;

    @ExcelProperty("订单号")
    @ColumnWidth(20)
    private String order_no;

    @ExcelProperty("屈服")
    @ColumnWidth(20)
    private Double ys;

    @ExcelProperty("下道机组")
    @ColumnWidth(20)
    private String next_unit_no;

    @ExcelProperty("表面粗糙度标准")
    @ColumnWidth(20)
    private Double rough_aim;

    @ExcelProperty("目标板形")
    @ColumnWidth(20)
    private Double shape_pattern;

    @ExcelProperty("目标变形正公差")
    @ColumnWidth(20)
    private Double shape_tolerance_a_1;

    @ExcelProperty("目标板形负公差")
    @ColumnWidth(20)
    private Double shape_tolerance_b_1;

    @ExcelProperty("出口钢卷最大重量")
    @ColumnWidth(20)
    private Double out_mat_wt_max;

    @ExcelProperty("出口钢卷最小重量")
    @ColumnWidth(20)
    private Double out_mat_wt_min;

    @ExcelProperty("颈缩量")
    @ColumnWidth(20)
    private Double width_addv;

    @ExcelProperty("热卷的卷曲温度")
    @ColumnWidth(20)
    private Double temp_ct_avg;

    @ExcelProperty("热卷的终轧温度")
    @ColumnWidth(20)
    private Double rolling_end_temp_aim_hsm;

    @ExcelProperty("凸度平均值")
    @ColumnWidth(20)
    private Double crown_avg;

    @ExcelProperty("平坦度平均值")
    @ColumnWidth(20)
    private Double flat_avg_act;

    @ExcelProperty("是否外贸")
    @ColumnWidth(20)
    private String export_flag;

    @ExcelProperty("分选度")
    @ColumnWidth(20)
    private String sort_grade_code;

    @ExcelProperty("工艺特殊要求")
    @ColumnWidth(20)
    private String special_remark;

    @ExcelProperty("原料质量信息")
    @ColumnWidth(20)
    private String defect_desc;

    @ExcelProperty("合同特殊指示")
    @ColumnWidth(20)
    private String order_special;

    //TB_DSJ_RAWCHECK_C622 c

    @ExcelProperty("终轧温度头部温度")
    @ColumnWidth(20)
    private Double fdt_temp_head;

    @ExcelProperty("终轧温度尾部温度")
    @ColumnWidth(20)
    private Double fdt_temp_tail;

    @ExcelProperty("层冷温度头部温度")
    @ColumnWidth(20)
    private Double ctc_temp_head;

    @ExcelProperty("层冷温度尾部温度")
    @ColumnWidth(20)
    private Double ctc_temp_tail;

    @ExcelProperty("厚度偏差头部厚度")
    @ColumnWidth(20)
    private Double thk_head;

    @ExcelProperty("厚度偏差尾部厚度")
    @ColumnWidth(20)
    private Double thk_tail;

    @ExcelProperty("宽度偏差头部宽度")
    @ColumnWidth(20)
    private Double width_head;

    @ExcelProperty("宽度偏差尾部宽度")
    @ColumnWidth(20)
    private Double width_tail;

    //TB_DSJ_PLANJUMP_C622 d

    @ExcelProperty(value = "轧制力预审核报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String force_jump_allow;

    @ExcelProperty(value = "辊缝预审核报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String rollgap_jump_allow;

    @ExcelProperty(value = "张力预审核报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String tension_jump_allow;

    @ExcelProperty(value = "速度预审核报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String speed_jump_allow;

    @ExcelProperty("S1轧制力过渡")
    @ColumnWidth(20)
    private Double s1force_transition;

    @ExcelProperty("S2轧制力过渡")
    @ColumnWidth(20)
    private Double s2force_transition;

    @ExcelProperty("S3轧制力过渡")
    @ColumnWidth(20)
    private Double s3force_transition;

    @ExcelProperty("S4轧制力过渡")
    @ColumnWidth(20)
    private Double s4force_transition;

    @ExcelProperty("S5轧制力过渡")
    @ColumnWidth(20)
    private Double s5force_transition;

    @ExcelProperty("S1辊缝过渡")
    @ColumnWidth(20)
    private Double s1rollgap_transition;

    @ExcelProperty("S2辊缝过渡")
    @ColumnWidth(20)
    private Double s2rollgap_transition;

    @ExcelProperty("S3辊缝过渡")
    @ColumnWidth(20)
    private Double s3rollgap_transition;

    @ExcelProperty("S4辊缝过渡")
    @ColumnWidth(20)
    private Double s4rollgap_transition;

    @ExcelProperty("S5辊缝过渡")
    @ColumnWidth(20)
    private Double s5rollgap_transition;

    @ExcelProperty("S1张力过渡")
    @ColumnWidth(20)
    private Double s1tension_transition;

    @ExcelProperty("S2张力过渡")
    @ColumnWidth(20)
    private Double s2tension_transition;

    @ExcelProperty("S3张力过渡")
    @ColumnWidth(20)
    private Double s3tension_transition;

    @ExcelProperty("S4张力过渡")
    @ColumnWidth(20)
    private Double s4tension_transition;

    @ExcelProperty("S5张力过渡")
    @ColumnWidth(20)
    private Double s5tension_transition;

    @ExcelProperty("S1速度过渡")
    @ColumnWidth(20)
    private Double s1speed_transition;

    @ExcelProperty("S2速度过渡")
    @ColumnWidth(20)
    private Double s2speed_transition;

    @ExcelProperty("S3速度过渡")
    @ColumnWidth(20)
    private Double s3speed_transition;

    @ExcelProperty("S4速度过渡")
    @ColumnWidth(20)
    private Double s4speed_transition;

    @ExcelProperty("S5速度过渡")
    @ColumnWidth(20)
    private Double s5speed_transition;

    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String create_time;

    // TB_DSJ_RAWCHECK_C642 e

    @ExcelProperty("生产完成时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Timestamp prod_time;

    @ExcelProperty("2130酸轧出口钢卷号")
    @ColumnWidth(20)
    private String cold_coil_id;

    @ExcelProperty("热轧厚度超差总长度")
    @ColumnWidth(20)
    private Integer hot_thk_tole_len;

    @ExcelProperty("热轧宽度超差总长度")
    @ColumnWidth(20)
    private Integer hot_width_tole_len;

    @ExcelProperty("热轧凸度超差总长度")
    @ColumnWidth(20)
    private Integer hot_c40_tole_len;

    @ExcelProperty("热轧楔形超差总长度")
    @ColumnWidth(20)
    private Integer hot_w40_tole_len;

    @ExcelProperty("热轧对称平坦度超差总长度")
    @ColumnWidth(20)
    private Integer hot_sym_tole_len;

    @ExcelProperty("热轧非对称平坦度超差总长度")
    @ColumnWidth(20)
    private Integer hot_asym_tole_len;

    @ExcelProperty("热轧终轧温度超差总长度")
    @ColumnWidth(20)
    private Integer hot_fdt_tole_len;

    @ExcelProperty("热轧层冷温度超差总长度")
    @ColumnWidth(20)
    private Integer hot_ctc_tole_len;

    @ExcelProperty("压下率上限")
    @ColumnWidth(20)
    private Double reduction_max;

    @ExcelProperty("压下率下限")
    @ColumnWidth(20)
    private Double reduction_min;
}
